﻿using Microsoft.Xna.Framework;
using GameLibrary;

namespace Rescue_of_the_Dwarvenzombies.SceneObjects
{
    /// <summary>
    /// Interface used for objects that are drawn and checked for collison
    /// </summary>
    public interface ISceneObject
    {
        void Update(GameTime gameTime);
        void TakeDamage(float damage);
        float GetDamage();
        Vector2 WantedMove { get; }
        Vector2 Position { get; set; }
        Vector2 LastPosition { get; set; }
        Rectangle SourceRectangle { get; set; }
        BoundingBox BoundingBox { get; set; }
        Constant.Action WantedAction { get; }
        Constant.Action PreviousAction { get; set; }
        Constant.Direction Direction { get; set; }
        Color TintColor { get; set; }
        Color[] PixelData { get; set; }
        string TextureName { get; set; }
        int RectangleHeight { get; }
        int RectangleWidth { get; }
        int RectangleOffsetX { get; }
        int RectangleOffsetY { get; }
        int TotalTextureWidth { get; }
    }
}